<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
	<table width="100%" border="0">
  <tr>
    <th colspan="2" align='center'>管理店铺-修改店铺资料</th>
  </tr>
  <tr>
    <th colspan="2" align='center'><hr></th>
  </tr>
  
  <form name="edit_store_profile" action='<@spring.url "/editmystoreprofile.php"/>' method="post" onsubmit="return check_form(create_account);">
  <#if primarySiteCategoryTrail?has_content>
  <INPUT type="hidden" name="sgid" value="${sgid}">
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right"> 店铺初设位置: </div></th>
    <td>
        <div align="left">
        <#list primarySiteCategoryTrail as g>
        <A href='<@spring.url "/listcategory2store.jsp?sgid=${g.categoryId}"/>'>${g.name?default("No-Category-Name")}</A>&gt;&gt;
        </#list>
        </div>       
        </td> 
    </tr>
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right"></div></th>
    <td>
        <div align="left">店铺初设位置由你创建店铺时决定,不能更改,请仔细选择.店铺初设位置非常重要,可以方便你的顾客快速找到你的店铺.</div>        
        </td> 
    </tr>
	</#if>    


  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right"> 站内二级域名: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.siteId" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("hgz")}' size="16" onBlur=alert("我失去了输入焦点！")/>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>

  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">简称: </div></th>
    <td width="90%">      
          <div align="left">
	          <@spring.bind "command.site.name" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
          </div>
    </td>
  </tr>

  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">全称: </div></th>
    <td width="90%">      
          <div align="left">
	          <@spring.bind "command.site.fullName" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("Please Input Your Company Full Name")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
          </div>
    </td>
  </tr>
	
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">电话: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.tel" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>

  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">传真: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.fax" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>
	
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">QQ: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.qqNo" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>

  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">MSN: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.msnNo" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>
	
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">Skype: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.skypeNo" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">Yahoo Messager: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.yahooMessagerNo" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>
	
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row" valign="top"><div align="right">邮编: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.zip" />
	          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>
	
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row" valign="top"><div align="right">详细地址: </div></th>
    <td>
        <div align="left">
	          <@spring.bind "command.site.address" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="2">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div></td>
    </tr>

  <tr>
    <th width="1%" valign="top" nowrap="NOWRAP" scope="row"><div align="right">简介: </div></th>
    <td><div align="left">
	          <@spring.bind "command.site.shortDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="5">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
    </div></td>
    </tr>
  <tr>

  <tr>
    <th width="1%" valign="top" nowrap="NOWRAP" scope="row"><div align="right">详细介绍: </div></th>
    <td><div align="left">
	          <@spring.bind "command.site.longDesc" />
	          <textarea  name="${spring.status.expression}" cols="60" rows="10">${spring.status.value?default("")}</textarea>&nbsp;<SPAN class=inputRequirement>*</SPAN>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
    </div></td>
    </tr>
  <tr>

	  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row" valign="top"><div align="right">状态: </div></th>
    <td>
      <@spring.bind "command.site.status" />
	    <#assign status = spring.status.value?default(1001)>
		  <INPUT type="radio" name="${spring.status.expression}" value="1001" <#if status == 1001>checked</#if>>正在编辑&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1002" <#if status == 1002>checked</#if>>申请审批&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1003" disabled="true" <#if status == 1003>checked</#if>>审批失败&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1004" disabled="true" <#if status == 1004>checked</#if>>审批通过&nbsp;&nbsp;
      <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</td>
    </tr>

	  <tr>
	    <th scope="row">&nbsp;</th>
	    <td colspan="2">
	    * 只有状态为<font color="red">审批通过</font>,店铺资料才能被零售商及顾客检索到,才能销售商品.<br>
	    * 只有状态为<font color="red">申请审批</font>,服务专员才会查看你店铺的资料,如果通过检查,则会将状态改为<font color="red">审批通过</font>.<br>
	    * 系统管理员保留权利根据网站管理规则将你店铺状态改为<font color="red">审批失败</font>.
	    </td>
	  </tr>

    <th width="1%" nowrap="nowrap" scope="row">&nbsp;</th>
    <td colspan="2"><label>
      
        <div align="left">
          <input type="submit" name="Submit" value="保存" />
          </label>
        </div></td>
  </tr>
  <tr>
    <th width="1%" nowrap="nowrap" scope="row">&nbsp;</th>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <th width="1%" nowrap="nowrap" scope="row">&nbsp;</th>
    <td colspan="2">站内二级域名帮助你的客户直接访问你的店铺,请仔细命名.</td>
  </tr>
  
  </form>
</table>
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">